package com.bobo.rbac.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bobo.rbac.domain.Role;
import com.bobo.rbac.mapper.RoleMapper;
import com.bobo.rbac.service.RoleMenuService;
import com.bobo.rbac.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author bobo
 * @description 针对表【role】的数据库操作Service实现
 * @createDate 2022-07-27 14:42:55
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role>
        implements RoleService {
    @Autowired
    RoleMapper roleMapper;
    @Autowired
    RoleMenuService roleMenuService;


    @Override
    public List<Role> selectCountByRid() {
        return roleMapper.selectCountByRid();
    }
}




